Optimal. Leaf size=28 \[ \frac {a \sinh (c+d x)}{d}+\frac {b \sinh ^3(c+d x)}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {3269}
\begin {gather*} \frac {a \sinh (c+d x)}{d}+\frac {b \sinh ^3(c+d x)}{3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3269
Rubi steps
\begin {align*} \int \cosh (c+d x) \left (a+b \sinh ^2(c+d x)\right ) \, dx &=\frac {\text {Subst}\left (\int \left (a+b x^2\right ) \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {a \sinh (c+d x)}{d}+\frac {b \sinh ^3(c+d x)}{3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 39, normalized size = 1.39 \begin {gather*} \frac {a \cosh (d x) \sinh (c)}{d}+\frac {a \cosh (c) \sinh (d x)}{d}+\frac {b \sinh ^3(c+d x)}{3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.57, size = 25, normalized size = 0.89
method | result | size |
derivativedivides | \(\frac {\frac {b \left (\sinh ^{3}\left (d x +c \right )\right )}{3}+a \sinh \left (d x +c \right )}{d}\) | \(25\) |
default | \(\frac {\frac {b \left (\sinh ^{3}\left (d x +c \right )\right )}{3}+a \sinh \left (d x +c \right )}{d}\) | \(25\) |
risch | \(\frac {{\mathrm e}^{3 d x +3 c} b}{24 d}+\frac {a \,{\mathrm e}^{d x +c}}{2 d}-\frac {b \,{\mathrm e}^{d x +c}}{8 d}-\frac {{\mathrm e}^{-d x -c} a}{2 d}+\frac {{\mathrm e}^{-d x -c} b}{8 d}-\frac {{\mathrm e}^{-3 d x -3 c} b}{24 d}\) | \(86\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 26, normalized size = 0.93 \begin {gather*} \frac {b \sinh \left (d x + c\right )^{3}}{3 \, d} + \frac {a \sinh \left (d x + c\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.58, size = 41, normalized size = 1.46 \begin {gather*} \frac {b \sinh \left (d x + c\right )^{3} + 3 \, {\left (b \cosh \left (d x + c\right )^{2} + 4 \, a - b\right )} \sinh \left (d x + c\right )}{12 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.11, size = 36, normalized size = 1.29 \begin {gather*} \begin {cases} \frac {a \sinh {\left (c + d x \right )}}{d} + \frac {b \sinh ^{3}{\left (c + d x \right )}}{3 d} & \text {for}\: d \neq 0 \\x \left (a + b \sinh ^{2}{\left (c \right )}\right ) \cosh {\left (c \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 70 vs.
\(2 (26) = 52\).
time = 0.41, size = 70, normalized size = 2.50 \begin {gather*} \frac {b e^{\left (3 \, d x + 3 \, c\right )}}{24 \, d} + \frac {{\left (4 \, a - b\right )} e^{\left (d x + c\right )}}{8 \, d} - \frac {{\left (4 \, a - b\right )} e^{\left (-d x - c\right )}}{8 \, d} - \frac {b e^{\left (-3 \, d x - 3 \, c\right )}}{24 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 25, normalized size = 0.89 \begin {gather*} \frac {\mathrm {sinh}\left (c+d\,x\right )\,\left (b\,{\mathrm {sinh}\left (c+d\,x\right )}^2+3\,a\right )}{3\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________